package com.guomei.bean.exam.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 考试答卷详情实体类
 */
@Data
public class ExamAnswerDetail {
    /**
     * ID
     */
    private Long id;
    
    /**
     * 答卷ID
     */
    private Long answerId;
    
    /**
     * 题目ID
     */
    private Long questionId;
    
    /**
     * 用户答案
     */
    private String userAnswer;
    
    /**
     * 得分
     */
    private Integer score;
    
    /**
     * 审核备注
     */
    private String reviewRemark;
    
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;
    
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedTime;

    private ExamQuestion examQuestion;

    // 分页参数
    private Integer pageNum;
    private Integer pageSize;
}
